Objects Reference

bezier_patch::build_mesh

Prototype

mesh *build_mesh();

Parameters

None

Return Value

Returns the mesh object representing the patch. Must be deleted by caller when not in need any more.

Remarks

This function generates a mesh object equivalent to the discretized patch surface. It is used for collision detection with the patch.